package net.betou.cms.manager.assist;

import java.util.List;
import java.util.Map;

import net.betou.cms.entity.assist.CmsTask;
import net.betou.common.page.Pagination;

public interface CmsTaskMng{
	public Pagination getPage( Integer siteId, int pageNo, int pageSize );

	public List< CmsTask > getList( );

	public CmsTask findById( Integer id );

	public CmsTask save( CmsTask bean );

	public CmsTask update( CmsTask bean, Map< String, String > attr );

	public CmsTask deleteById( Integer id );

	public CmsTask [ ] deleteByIds( Integer [ ] ids );

	public String getCronExpressionFromDB( Integer taskId );
}